package com.jwj.testback.recordsheet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jwj.testback.recordsheet.pojo.Datasource;
import com.jwj.testback.recordsheet.pojo.TableField;
import com.jwj.testback.recordsheet.pojo.Tableware;
//import com.jwj.testback.recordsheet.pojo.Tableware;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JWJ
 * @since 2021-12-21
 */
public interface DatasourceService extends IService<Datasource> {
    /**
     * 显示所有数据源
     * @return
     */
    List<Datasource> showDataBases();

    /**
     * 显示所有数据库
     * @return
     */
    void showAllBases();

    List<Tableware> showTables(String databaseName);
//
    List<Tableware> TableSize(String databaseName);

    List<TableField> showField(String tableName,String databaseName);

    Datasource showNamePas(String databaseName);

}
